import {defineStore} from "pinia";
import {ref} from "vue";
export const useBusinessInfoIdStore=defineStore('businessInfoId',()=>{
        const businessInfoId=ref('')

        function setBusinessInfoId(newId){
            businessInfoId.value=newId
        }
        function removeBusinessInfoId(){
            businessInfoId.value=''
        }
        return{
            businessInfoId,setBusinessInfoId,removeBusinessInfoId
        }
    },
    {
        persist:true
    }
);